<?php


$id = $_REQUEST['id'];

$c = $em->find('Entities\Terreno', $id);

$em->remove($c);

$error = 0;
try {
	$em->flush();
} catch (Exception $e) {
	
	$error=$e->getMessage();
}

echo "<error>$error</error>";
